﻿//     Copyright (c) Microsoft Corporation.  All rights reserved.

using System;
using System.ComponentModel.DataAnnotations;

namespace Gateway.Console.Models
{
    public abstract class Status
    {
        public Status()
        {
            DateAdded = DateTime.UtcNow;
        }

        public abstract void SetParentId(int parentId);

        [Key]
        public int Id { get; set; }

        public bool Success { get; set; }
        public string Message { get; set; }
        public DateTime DateAdded { get; set; }
    }
}
